package org.custom.spring.boot.security.service;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * Spring-Security拦截器链处理服务接口
 *
 * @author LiKun
 * @date 2021/11/12 10:43
 */
public interface SecurityFilterChainManager extends Serializable {
    /**
     * 判断/控制过滤器是否处理请求
     *
     * @param path 请求路径
     *
     * @return 判断结果
     */
    boolean whetherTheInterceptorChainHandlesTheRequest(@NotBlank(message = "请求路径不能为空") String path);
}
